package com.atguigu.mapper;

import com.atguigu.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface EmployeeMapper {
    List<Employee> getAllEmpts();
    Employee getEmptsById(int id);
    Employee getEmptByName(String name);
    int addEmpts(Employee employee);
    int updateeEmpts(Employee employee);
    int deleteEmpts(int id);
}
